import { MaxLength, IsString, IsOptional, IsNumber } from "class-validator";
import PaginationDto from "../../dtos/pagination.dto";

export class PageDto extends PaginationDto {
    @MaxLength(30)
    @IsString({})
    @IsOptional()
    orderNo:string;

    @IsNumber()
    @IsOptional()
    startTime:number;

    @IsNumber()
    @IsOptional()
    endTime:number;
}